/*** Eclipse Class Decompiler plugin, copyright (c) 2012 Chao Chen (cnfree2000@hotmail.com) ***/
package com.qihoo.gamecenter.sdk.suspend.remote;

import android.content.Context;
import android.content.Intent;
import android.text.TextUtils;
import com.qihoo.gamecenter.sdk.suspend.b.b;

public class c extends IQRemoteService.a {
    Context a = null;

    public c(Context paramContext, Intent paramIntent) {
        this.a = paramContext;
        b.a("QRemoteBinder", " come to  QRemoteBinder.");
        if (paramIntent == null)
            return;
        String str1 = paramIntent.getStringExtra("fQid");
        String str2 = paramIntent.getStringExtra("fQt");
        String str3 = paramIntent.getStringExtra("loginPkgname");
        QRemoteService.a().a(str3, str1, str2);
    }

    public boolean isPrimary(String paramString) {
        return (this.a.getPackageName().equals(paramString));
    }

    public void updateLoginedState(String paramString1, String paramString2, String paramString3) {
        b.a("QRemoteBinder", "  \nqid : " + paramString2 + "  \nqt : " + paramString3 + "  \npkgname: " + paramString1);
        if ((TextUtils.isEmpty(paramString1)) || (QRemoteService.a() == null))
            return;
        QRemoteService.a().a(paramString1, paramString2, paramString3);
    }
}